@include comp(monaco-editor) {
  height: 100%;
  width: 100%;
  background-color: plv(background-color);
  overflow: hidden;
  position: relative;

  .monaco-editor-ele {
    height: 100%;
    width: 100%;

    & > .monaco-editor {
      height: 100% !important;
      overflow: hidden;
    }
  }

  .monaco-editor-pending {
    position: absolute;
    inset: 0;
    padding: 4px;
  }

  &.monaco-editor-full-height {
    height: 100%;
  }
}
